package mipo.top.admin.mapper;

import mipo.top.base.mapper.BaseMapper;
import mipo.top.admin.domain.Employee;
import org.apache.ibatis.annotations.Param;


import java.util.List;

public interface EmployeeMapper extends BaseMapper<Employee> {
    Employee findusername(String username);

    void removeEmpRole(@Param("employeeId") Long id);

    void saveEmpRole(@Param(("ids")) Long id,@Param("role") List<Long> roles);

    Employee findBylogininfoId(Long id);

    List<Employee> findByshopId(Long shopId);
}
